package com.example.security.exception;

import com.example.core.enums.ResultCode;
import lombok.Getter;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Lily
 * Date: 2024-11-24
 * Time: 14:07
 */

//自定义异常
@Getter
public class ServiceException extends RuntimeException {

    private ResultCode resultCode;

    public ServiceException(ResultCode resultCode) {
        this.resultCode = resultCode;
    }
}